<article class="page-container">
	<form class="layui-form" enctype="multipart/form-data" method="post" action="<{:url('outbx/add','id='.$id)}>">
	  <div class="layui-form-item">
	    <label class="layui-form-label">订单</label>
	    <div class="layui-input-block">
      		<span style='color:red;'><{$info['order_no']}>:<{$info['title']}><br><{$info['contract_no']}></span>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">报销人姓名</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="name" required  lay-verify="required" placeholder="请输入报销人姓名 " value="<{$userinfo['name']}>">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">报销科目</label>
	    <div class="layui-input-block">
			<select name="type" class="select" placeholder="请选择报销科目">
					<option value=""></option>
		          <{volist name="type" id="v"}>
		              <option value="<{$key}>"><{$v}></option>
		          <{/volist}>
			</select>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">报销费用</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="money" required  lay-verify="required" placeholder="￥" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">备注</label>
	    <div class="layui-input-block">
      		<input class="layui-input" type="text" name="note" placeholder="备注" value="">
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">报销内容</label>
	    <div class="layui-input-block">
      		<textarea  id="layedit1"  placeholder="报销内容， 可以上传附件" style="height:400px;" _url="<{:url('c/editup','dir=editor')}>" lay-verify="textarea1" name="content" placeholder="请输入内容" class="layui-textarea"></textarea>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <label class="layui-form-label">附件</label>
	    <div class="layui-input-block">
      		<{:com_c_up(url('c/up', 'dir=default&f=attach&thumb=0'))}>
	    </div>
	  </div>
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	      <button class="layui-btn" lay-submit lay-filter="form">提交</button>
	      <button class="layui-btn layui-btn-primary" onClick="c_close(this);" >关闭</button>
	    </div>
	  </div>
	</form>
</article>